/**
 * 其他相关的请求
 */
import Urls from '../ApiUrls';
import ApiBase from './ApiBase';

class ApiOther {


  getUploadToOssUrl() {
    return Urls.URL_UPLOAD_TO_OSS;
  }
  getCountryList(params){
    return ApiBase.send(Urls.URL_COUNTRY_LIST, params);
  }
  saveSelectedCountry(params){
    return ApiBase.send(Urls.URL_COUNTRY_SAVE, params);
  }
  getPostageList(params){
    return ApiBase.send(Urls.URL_POSTAGE_LIST, params);
  }
  savePostage(params){
    return ApiBase.send(Urls.URL_POSTAGE_SAVE, params);
  }
  deletePostage(params){
    return ApiBase.send(Urls.URL_POSTAGE_DELETE, params);
  }
  getPostage(params){
    return ApiBase.send(Urls.URL_POSTAGE_BYID, params);
  }
  getCountryPostageList(params){
    return ApiBase.send(Urls.URL_COUNTRY_POSTAGE, params);
  }
  deleteCountryPostage(params){
    return ApiBase.send(Urls.URL_COUNTRY_POSTAGE_DEL, params);
  }
  batchSequenceCountry(params){
    return ApiBase.send(Urls.URL_COUNTRY_POSTAGE_SEQUENCE, params);
  }
  sendValidateCode(params){
    return ApiBase.send(Urls.URL_SEND_VALIDATE_CODE, params);
  }
  validateCode(params){
    return ApiBase.send(Urls.URL_VALIDATE_CODE, params);
  }
  qureySysConfigArgs(params){
    return ApiBase.send(Urls.URL_QUREY_SYS_CONFIG_ARGS, params);
  }
  querySysConfigArgsById(params){
    return ApiBase.send(Urls.URL_QUREY_SYS_CONFIG_ARGS_BYID, params);
  }
  querySysConfigValueByEnName(params){
    return ApiBase.send(Urls.URL_QUREY_SYS_CONFIG_VALUE_BY_ENNAME, params);
  }
  addModifySysConfigArg(params){
    return ApiBase.send(Urls.URL_ADD_MODIFY_SYS_CONFIG_ARG, params);
  }
  deleteSysConfigArg(params){
    return ApiBase.send(Urls.URL_DELETE_SYS_CONFIG_ARG, params);
  }
  getAppVersion(params){
    return ApiBase.send(Urls.URL_GET_APP_VERSION, params);
  }
  saveAppVersion(params){
    return ApiBase.send(Urls.URL_SAVE_APP_VERSION, params);
  }
  sendEmail(params){
    return ApiBase.send(Urls.URL_SEND_EMAIL, params);
  }
  getDeliveryCompanyList(params){
    return ApiBase.send(Urls.URL_DELIVERY_COMPANY_LIST, params);
  }
  saveDeliveryCompany(params){
    return ApiBase.send(Urls.URL_SAVE_DELIVERY_COMPANY, params);
  }
  deleteDeliveryCompany(params){
    return ApiBase.send(Urls.URL_DELETE_DELIVERY_COMPANY, params);
  }
  getTerminalMarks(params){
    return ApiBase.send(Urls.URL_QUERY_TERMINAL_MARKS, params);
  }
  addEditTerminalMark(params){
    return ApiBase.send(Urls.URL_ADD_EDIT_TERMINAL_MARK, params);
  }
  deleteTerminalMark(params){
    return ApiBase.send(Urls.URL_DELETE_TERMINAL_MARK, params);
  }
  queryEmployeeTerminalMarks(params){
    return ApiBase.send(Urls.URL_QUERY_EMPLOYEE_TERMINAL_MARKS, params);
  }
  addEditEmployeeTerminalMark(params){
    return ApiBase.send(Urls.URL_ADD_EDIT_EMPLOYEE_TERMINAL_MARK, params);
  }
  deleteEmployeeTerminalMark(params){
    return ApiBase.send(Urls.URL_DELETE_EMPLOYEE_TERMINAL_MARK, params);
  }
  addEditSearchKeyword(params){
    return ApiBase.send(Urls.URL_ADD_EDIT_SEARCH_KEYWORD, params);
  }
  deleteSearchKeyword(params){
    return ApiBase.send(Urls.URL_DELETE_SEARCH_KEYWORD, params);
  }
  querySearchKeywords(params){
    return ApiBase.send(Urls.URL_QUERY_SEARCH_KEYWORDS, params);
  }
  queryManageTabs(params){
    return ApiBase.send(Urls.URL_QUERY_MANAGETABS, params);
  }
  saveManageTab(params){
    return ApiBase.send(Urls.URL_SAVE_MANAGETAB, params);
  }
  getManageTabDetail(params){
    return ApiBase.send(Urls.URL_GET_MANAGETAB_DETAIL, params);
  }
  deleteManageTabDetail(params){
    return ApiBase.send(Urls.URL_DELETE_MANAGETAB, params);
  }
  pageQueryManageTabs(params){
    return ApiBase.send(Urls.URL_PAGE_QUERY_MANAGETABS, params);
  }
  saveTabMappings(params) {
    return ApiBase.send(Urls.URL_SAVE_MANAGETAB_MAPPINGS, params)
  }
  updateTabMappings(params) {
    return ApiBase.send(Urls.URL_UPDATE_MANAGETAB_MAPPINGS, params)
  }
  deleteTabMappings(params) {
    return ApiBase.send(Urls.URL_DELETE_MANAGETAB_MAPPINGS, params)
  }
  queryPaymentAccount(params){
    return ApiBase.send(Urls.URL_QUERY_PAYMENT_ACCOUNT, params);
  }
  savePaymentAccount(params){
    return ApiBase.send(Urls.URL_QUERY_PAYMENT_ACCOUNT_SAVE, params);
  }
  queryPaymentAccountById(params){
    return ApiBase.send(Urls.URL_QUERY_PAYMENT_ACCOUNT_DETAIL, params);
  }

  translateText(params) {
    return ApiBase.send(Urls.URL_TRANSLATE_TEXT, params);
  }

  queryWireTransferDesc() {
    return ApiBase.send(Urls.URL_QUERY_WIRE_TRANSFER_DESC);
  }

  saveWireTransferDesc(params) {
    return ApiBase.send(Urls.URL_SAVE_WIRE_TRANSFER_DESC, params);
  }

  savePageMetaInfos(params) {
    return ApiBase.send(Urls.URL_SAVE_PAGE_META, params)
  }

  queryMetaPage(params) {
    return ApiBase.send(Urls.URL_QUERY_META_PAGE, params);
  }

  queryMetaList(params) {
    return ApiBase.send(Urls.URL_QUERY_META_LIST, params);
  }
}
export  default  ApiOther
